import request from '@/utils/request'

/* 节水管理性文件台账表 */
// 列表查询
const waterSaveManageDocumentList = function (params = {}) {
  return request({
    url: '/zy-api/api/swManagementDoc/findList',
    method: 'post',
    data: params
  })
}

// 新增
const addWaterSaveManageDocument = function (params = {}) {
  return request({
    url: '/zy-api/api/swManagementDoc/add',
    method: 'post',
    data: params
  })
}

// 修改
const editWaterSaveManageDocument = function (params = {}) {
  return request({
    url: '/zy-api/api/swManagementDoc/update',
    method: 'post',
    data: params
  })
}

// 删除
const delWaterSaveManageDocument = function (params = {}) {
  return request({
    url: '/zy-api/api/swManagementDoc/delete',
    method: 'post',
    data: params
  })
}

// 审核
const auditWaterSaveManageDocument = function (params = {}) {
  return request({
    url: '/zy-api/api/swManagementDoc/Review',
    method: 'post',
    data: params
  })
}

export {
  waterSaveManageDocumentList,
  addWaterSaveManageDocument,
  editWaterSaveManageDocument,
  delWaterSaveManageDocument,
  auditWaterSaveManageDocument
}